package com.lagou.dao;

import com.lagou.pojo.User;

import java.util.List;

public interface UserDao {

    List<User> selectList() throws Exception;

    User selectOne(User user) throws Exception;

    int insert(User user) throws Exception;

    int update(User user) throws Exception;

    int delete(User user) throws Exception;
}
